﻿package com.obas.monitor.service
{
	import com.obas.business.common.vo.AtMessage;
	import com.obas.flex.common.proxy.DefaultServiceProxy;
	import com.obas.model.business.TestPlanItem;

	public class ITestMonitorService extends DefaultServiceProxy
	{
    	private static const SERVICE_NAME:String = "iTestMonitorService";

  		public function ITestMonitorService() {
     		super(SERVICE_NAME);
  		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		beginRecord(
 			appId:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("beginRecord", [appId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		endRecord(
 			appId:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("endRecord", [appId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		startPlay(
 			appId:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("startPlay", [appId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		getTreeRoot(
 			appId:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("getTreeRoot", [appId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		toggleInspectFrame(
 			appId:String  /* java.lang.String */,
 			msg:com.obas.business.common.vo.AtMessage  /* com.obas.business.common.vo.AtMessage */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("toggleInspectFrame", [appId, msg], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		toggleInspectMode(
 			appId:String  /* java.lang.String */,
 			msg:com.obas.business.common.vo.AtMessage  /* com.obas.business.common.vo.AtMessage */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("toggleInspectMode", [appId, msg], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		getTreeChildren(
 			appId:String  /* java.lang.String */,
 			msg:com.obas.business.common.vo.AtMessage  /* com.obas.business.common.vo.AtMessage */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("getTreeChildren", [appId, msg], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		startAut(
 			appId:String  /* java.lang.String */,
 			scriptId:Number  /* long */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("startAut", [appId, scriptId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		shutDownAut(
 			appId:String  /* java.lang.String */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("shutDownAut", [appId], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		runTestPlanItem(
 			appId:String  /* java.lang.String */,
 			item:com.obas.model.business.TestPlanItem  /* com.obas.model.business.TestPlanItem */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("runTestPlanItem", [appId, item], callback, context);
 		}

		/**
    */
		public function 
			/* flex: void */ 
			/* java: void */
		getProperties(
 			appId:String  /* java.lang.String */,
 			msg:com.obas.business.common.vo.AtMessage  /* com.obas.business.common.vo.AtMessage */,
 			callback:Function = null,
 			context:Object = null
 			):void {
    		callService("getProperties", [appId, msg], callback, context);
 		}
	}
}